/*
 Hidamari - A simple batch m4v/mp4 tagger for iTunes
 Copyright (C) 2008 Jason Stone
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>
 */

#import "Episode.h"


@implementation Episode

@synthesize num;
@synthesize title;
@synthesize jTitle;
@synthesize description;

-(id) initWithTitle:(NSString *)t num:(int) n jTitle: (NSString *) jt description: (NSString *) d{
	self = [super init];
	if (self != nil) {
		self.num = n;
		self.title = t;
		self.jTitle = jt;
		self.description = d;
	}
	return self;
}

-(NSString *) stringValue{
	return [NSString stringWithFormat:@"%d. %@ - %@: %@",num,title,jTitle,description];
}

@end
